+2001-11-14 Daniel Egger <degger@fhm.edu>
+
+ * gdk-pixbuf/io-xpm.c:
+ (xpm_skip_whitespaces): Remove unused static function.
+ (xpm_skip_string): Dito.
+ (xpm_extract_color): Declare const variable const to avoid warnings.
+
+ * gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
+
+ * gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
+
+ * gtk/gtksocket.c: Change type of mask to g_message to %ld for
+ a long.
+
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
+2001-11-14 Daniel Egger <degger@fhm.edu>
+
+ * gdk-pixbuf/io-xpm.c:
+ (xpm_skip_whitespaces): Remove unused static function.
+ (xpm_skip_string): Dito.
+ (xpm_extract_color): Declare const variable const to avoid warnings.
+
+ * gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
+
+ * gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
+
+ * gtk/gtksocket.c: Change type of mask to g_message to %ld for
+ a long.
+
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
+2001-11-14 Daniel Egger <degger@fhm.edu>
+
+ * gdk-pixbuf/io-xpm.c:
+ (xpm_skip_whitespaces): Remove unused static function.
+ (xpm_skip_string): Dito.
+ (xpm_extract_color): Declare const variable const to avoid warnings.
+
+ * gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
+
+ * gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
+
+ * gtk/gtksocket.c: Change type of mask to g_message to %ld for
+ a long.
+
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
+2001-11-14 Daniel Egger <degger@fhm.edu>
+
+ * gdk-pixbuf/io-xpm.c:
+ (xpm_skip_whitespaces): Remove unused static function.
+ (xpm_skip_string): Dito.
+ (xpm_extract_color): Declare const variable const to avoid warnings.
+
+ * gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
+
+ * gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
+
+ * gtk/gtksocket.c: Change type of mask to g_message to %ld for
+ a long.
+
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
+2001-11-14 Daniel Egger <degger@fhm.edu>
+
+ * gdk-pixbuf/io-xpm.c:
+ (xpm_skip_whitespaces): Remove unused static function.
+ (xpm_skip_string): Dito.
+ (xpm_extract_color): Declare const variable const to avoid warnings.
+
+ * gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
+
+ * gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
+
+ * gtk/gtksocket.c: Change type of mask to g_message to %ld for
+ a long.
+
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
+2001-11-14 Daniel Egger <degger@fhm.edu>
+
+ * gdk-pixbuf/io-xpm.c:
+ (xpm_skip_whitespaces): Remove unused static function.
+ (xpm_skip_string): Dito.
+ (xpm_extract_color): Declare const variable const to avoid warnings.
+
+ * gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
+
+ * gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
+
+ * gtk/gtksocket.c: Change type of mask to g_message to %ld for
+ a long.
+
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
+2001-11-14 Daniel Egger <degger@fhm.edu>
+
+ * gdk-pixbuf/io-xpm.c:
+ (xpm_skip_whitespaces): Remove unused static function.
+ (xpm_skip_string): Dito.
+ (xpm_extract_color): Declare const variable const to avoid warnings.
+
+ * gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
+
+ * gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
+
+ * gtk/gtksocket.c: Change type of mask to g_message to %ld for
+ a long.
+
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
return ret;
}
-static const gchar *
-xpm_skip_whitespaces (const gchar *buffer)
-{
- gint32 index = 0;
-
- while (buffer[index] != 0 && (buffer[index] == 0x20 || buffer[index] == 0x09))
- index++;
-
- return &buffer[index];
-}
-
-static const gchar *
-xpm_skip_string (const gchar *buffer)
-{
- gint32 index = 0;
-
- while (buffer[index] != 0 && buffer[index] != 0x20 && buffer[index] != 0x09)
- index++;
-
- return &buffer[index];
-}
-
static gchar *
xpm_extract_color (const gchar *buffer)
{
+ const gchar *p = &buffer[0];
gint new_key = 0;
gint key = 0;
gint current_key = 1;
gint space = 128;
gchar word[128], color[128], current_color[128];
- gchar *r, *p;
-
- p = &buffer[0];
+ gchar *r;
+
word[0] = '\0';
color[0] = '\0';
current_color[0] = '\0';
}
}
-static void
-gtk_fixed_map (GtkWidget *widget)
-{
- GtkFixed *fixed;
- GtkFixedChild *child;
- GList *children;
-
- GTK_WIDGET_SET_FLAGS (widget, GTK_MAPPED);
- fixed = GTK_FIXED (widget);
-
- children = fixed->children;
- while (children)
- {
- child = children->data;
- children = children->next;
-
- if (GTK_WIDGET_VISIBLE (child->widget) &&
- !GTK_WIDGET_MAPPED (child->widget))
- gtk_widget_map (child->widget);
- }
-
- gdk_window_show (widget->window);
-}
-
static void
gtk_fixed_realize (GtkWidget *widget)
{
GdkEvent *event,
gpointer data);
+#if 0
static void gtk_plug_free_grabbed_keys (GHashTable *key_table);
+#endif
static void handle_modality_off (GtkPlug *plug);
static void send_xembed_message (GtkPlug *plug,
glong message,
guint32 time)
{
GTK_NOTE(PLUGSOCKET,
- g_message ("GtkSocket: Sending XEMBED message of type %d", message));
+ g_message ("GtkSocket: Sending XEMBED message of type %ld", message));
if (socket->plug_window)
{